# coding=utf-8
'''
Created on 2018年4月17日

@author: lijie
'''
from library.page_element.element_base import ElementBase
class ChkProjectName(ElementBase):
    def __init__(self,dr,pname):
        self.dr=dr
        ElementBase(self.dr,"//td[.='"+pname+"']/preceding-sibling::td//input[@type='checkbox']")
class BtnSubmit(ElementBase):
    def __init__(self,dr):
        self.dr=dr
        ElementBase(self.dr,"//a[.='确定']")